#ifndef TINY_MUDUO_CALLBACK_H_
#define TINY_MUDUO_CALLBACK_H_

#include<memory>
#include<functional>

using std::placeholders::_1;
using std::placeholders::_2;
using std::placeholders::_3;

namespace tiny_muduo{
    class TcpConnection;

    class Buffer;
    typedef std::function<void(TcpConnection*,Buffer*)> ConnectionCallback;
    typedef std::function<void(TcpConnection*,Buffer*)> MessageCallback;
    typedef std::function<void()> ReadCallback;
    typedef std::function<void()> WriteCallback;
    typedef std::function<void (const TcpConnection*)> CloseCallback;
}
#endif